//
//  MainCollectionViewCell.h
//  Stream
//
//  Created by shaw on 16/8/7.
//  Copyright © 2016年 showshaw. All rights reserved.
//

#import <UIKit/UIKit.h>
@class MainCollectionViewModel;
@class MainCollectionViewCell;

@protocol MainCollectionViewCellDelegate <NSObject>
@optional
-(void)collectionDidClicked:(MainCollectionViewCell*)cell;
-(void)collectionDidLongPressed:(MainCollectionViewCell*)cell;
-(void)collectionDidClickedDeleteButton:(MainCollectionViewCell*)cell;
@end

@interface MainCollectionViewCell : UICollectionViewCell
@property (nonatomic,strong) MainCollectionViewModel * model;
@property (nonatomic,weak) id<MainCollectionViewCellDelegate> delegate;
@property (weak, nonatomic) IBOutlet UIButton *deleteButton;
@end
